package com.dave.gd.sysmgr.domain.repository.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.dave.gd.common.util.CollectionUtils;
import com.dave.gd.core.base.repository.impl.AbstractBaseRepository;
import com.dave.gd.sysmgr.domain.entity.Role;
import com.dave.gd.sysmgr.domain.repository.IRoleRepository;

@Repository("roleRepository")
public class RoleRepositoryImpl //extends AbstractBaseRepository<Role, Integer>
    implements IRoleRepository {
    
    public RoleRepositoryImpl() {
        //super(Role.class);
    }
    @Override
    public List<Role> queryAll(){
        /*String sql="select * from el_role where 1=1";
        List<Object> params = new ArrayList<Object>();
        //params.add(addressId);
        List<Role> roleList =  this.jdbcFindList(sql, Role.class, params);
        if(CollectionUtils.isEmpty(roleList)){//attrList==null||attrList.size()==0
            return null;
        }
        return roleList;*/
        return null;
    }
    
}
